<!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/custom.form.css">
</head>
<body>

<div class="table_div">
    <div id="searchParam" shiro:hasPermission="sysBbs:list">
        <div class="layui-form-item">
            <div class="layui-input-inline">
                <input type="text" id="key" class="layui-input" autocomplete="off" placeholder="请输入">
            </div>

            <div class="layui-input-inline ">
                <button class="layui-btn" onclick="search()" id="search">查询</button>
                <button class="layui-btn" id="export">导出全部</button>
            </div>
        </div>

    </div>
    <table class="layui-table" id="showTable" lay-filter="showTable"></table>
</div>
<script type="text/html" id="toolbar">
    <div class="layui-btn-container">

        <!--<button class="layui-btn layui-btn-sm" lay-event="add" shiro:hasPermission="sysBbs:add">添加</button>-->
        <button class="layui-btn layui-btn-sm" lay-event="batchRead" shiro:hasPermission="sysBbs:read">批量阅读</button>
        <!--<button class="layui-btn layui-btn-sm" lay-event="batchDeleted" shiro:hasPermission="sysBbs:delete">删除</button>-->
    </div>
</script>
<script type="text/html" id="tool">
    {{# if (d.status == 1){ }}
    <a class="layui-btn layui-btn-xs" lay-event="read" shiro:hasPermission="sysBbs:read">阅读</a>
    {{# } }}
</script>

</body>
</html>
<script src="/layui/layui.all.js"></script>
<script src="/js/core.util.js"></script>
<script src="/js/sysbbs/list.js"></script>